package org.xydpeng.framework.l2cache.serialization;

/**
 * @author xydpeng
 * @version v1.0
 * @date: 2024/6/12
 * @description:
 */
public interface Serialization {

    <T> byte[] serialize(T obj);


    Object deserialize(byte[] bytes);
}
